/* explains Tomcat's default container */
package ex04.pyrmont.startup;

import ex04.pyrmont.core.SimpleContainer;

public final class BootstrapV4 {



    public static void main(String[] args) {

        org.apache.catalina.connector.http.HttpConnector connector = new org.apache.catalina.connector.http.HttpConnector();
        SimpleContainer container = new SimpleContainer();
        connector.setContainer(container);
        connector.setDebug(4);
        try {
            connector.initialize();
            connector.start();

            // make the application wait until we press any key.
            System.in.read();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
